LL RNG APIs listing for migration

There are a few API changes in the LL layer. This page lists only the modified LL APIs. Others not listed here are unchanged between HAL1 and HAL2.

LL RNG constants

HAL1

series

HAL2

LL_RNG_NOTNIST_COMPLIANT

l4

LL_RNG_CUSTOM_NIST

LL RNG macros

HAL1

series

HAL2

LL_RNG_WriteReg

u5, h5, l4, f4, g4, g0, h7

LL_RNG_WRITE_REG

LL_RNG_ReadReg

u5, h5, l4, f4, g4, g0, h7

LL_RNG_READ_REG

HAL I2C structures

HAL1

series

HAL2

LL_RNG_InitTypeDef

u5, h5, l4, g0, g4, h7

Removed / New usage sequence

LL RNG functions

HAL1

series

HAL2

Refer to

LL_RNG_SetHealthconfiguration

l4

LL_RNG_SetHealthConfig

LL_RNG_GetHealthconfiguration

l4

LL_RNG_GetHealthConfig

LL_RNG_GetNoiseConfig

h5, u5

LL_RNG_GetOscNoiseSrc

LL_RNG_SetNoiseConfig

h5, u5

LL_RNG_SetOscNoiseSrc

LL_RNG_IsNistComplianceEnabled

l4

LL_RNG_IsEnabledNistCompliance

LL_RNG_IsResetConditioningBitSet

l4

LL_RNG_IsEnabledCondReset

LL_RNG_ResetConditioningResetBit

l4

LL_RNG_DisableCondReset

LL_RNG_SetConditioningResetBit

l4

LL_RNG_EnableCondReset

LL_RNG_Init

u5, h5, l4, g4, h7

Sequence changed

Refer to

LL_RNG_StructInit

u5, h5, l4, g4, g0, h7

Sequence changed

Refer to

LL_RNG_DeInit

u5, h5, l4, f4, g4, g0, h7

Sequence changed

Refer to